package LL1checker;

import java.util.ArrayList;

public class NonTerminal extends Term {
	private ArrayList<Term> followers;
	private ArrayList<Term> starters;
	private ArrayList<Term> alternatives;

	public NonTerminal(String newValue) {
		super(newValue);
		followers = new ArrayList<Term>();
		starters = new ArrayList<Term>();
		alternatives = new ArrayList<Term>();
	}
	
	public ArrayList<Term> getStarters(){
		return followers;
		
	}
	
	public ArrayList<Term> getFollowers(){
		return starters;
		
	}

	public ArrayList<Term> getAlternatives(){
		return alternatives;
	}
}

//TODO: